﻿{% extends "gma/base.html" %}
{% load static %}

<title>{% block title %} 系统设置 {% endblock title %}</title>

<!-- CONTENT
  =====================================================================-->

{% block content %}

    <div class="page__hd">
        <h1 class="page__title">
            <i class="fa fa-cogs my-page-title-icon"> </i>
        </h1>
        <p class="page__desc"> 仅供管理员使用。 </p>
    </div>

    <div class="page__bd">
        <div class="page__bd page__bd_spacing">
            <ul class="my-entry-panel">
                {% if permissions.gm_management.open %}
                <li>
                    <a class="weui-flex" href="{% url 'gma:gm' %}">
                        <p class="weui-flex__item">GM管理</p>
                        <i class="fa fa-user-secret my-entry-button-icon"></i>
                    </a>
                </li>
                {% endif %}

                {% if permissions.system_config.open %}
                <li>
                    <a class="weui-flex" href="{% url 'gma:test_textarea' %}">
                        <p class="weui-flex__item">测试textarea</p>
                        <i class="fa fa-keyboard my-entry-button-icon"></i>
                    </a>
                </li>
                {% endif %}

                {% if permissions.system_config.open %}
                <li>
                    <a class="weui-flex" href="{% url 'gma:video_to_moment' %}">
                        <p class="weui-flex__item">短视频转动态</p>
                        <i class="fa fa-film my-entry-button-icon"></i>
                    </a>
                </li>
                {% endif %}

                {% if permissions.system_config.open %}
                <li>
                    <a class="weui-flex" href="{% url 'gma:settings' %}">
                        <p class="weui-flex__item">系统配置</p>
                        <i class="fa fa-cogs my-entry-button-icon"></i>
                    </a>
                </li>
                {% endif %}
            </ul>
        </div>
    </div>

    <div class="page__ft j_bottom">
        <a href="{% url 'gma:home' %}">
            <span class="bottom-logo">
               HiBao
           </span>
        </a>
    </div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}

{% endblock extra_js %}